package com.maimao.kill.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maimao.model.kill.Activity;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author MaoLin Wang
 * @date 2021/4/7 10:05 上午
 */
public interface ActivityMapper extends BaseMapper<Activity> {

    @Select("select * from tb_activity")
    List<Activity> selectAll();

    int updateStatusById(@Param("status") Integer status,@Param("id") Integer id);
}
